It is useful to send some messages right after connecting the socket.
The problem is that sometimes, this data can't be sent.
To solve that issue, this data is accumulated, and thus, is sent in either
getData or sendData, the one which is called first.
After that, accumulated data becomes unused.
It is useful to send some messages right after connecting the socket. The problem is that sometimes, this data can't be sent. To solve that issue, this data is accumulated, and thus, is sent in either getData or sendData, the one which is called first. After that, accumulated data becomes unused.